<html>
 <head><title>This is a test page with frames</title>
 <script>
  function simulateClick(target) {
    var evt = document.createEvent("MouseEvents");
    evt.initMouseEvent("click", true, true, window,
                       0, 0, 0, 0, 0, false, false,
                       false, false, 0, null);

    return target.dispatchEvent(evt);
  }

  function clickLink(linkID) {
    target = frames['navFrame'].document.getElementById(linkID);
    if (target == null)
      alert("clickLink failed for id=" + linkID);
    return simulateClick(target);
  }
 </script>
 </head>
 <frameset cols="25%,75%">
   <frame src="REPLACE_WITH_FRAME_LEFT_PATH" name="navFrame" id="navFrame">
   <frame src="frame_right.html" name="contentFrame" id="contentFrame">
 </frameset>
</html>
